<template>
	<view>
		<image class="success-image" src="../../static/mine/success.png" mode="aspectFit"></image>
		<view class="success-title util-font-medium">核销成功</view>
		<view class="success-tips util-font-regular">全部已核销订单请前往”我的-已核销订单“查看</view>
		<view class="look-order util-font-medium" @click="takedOrderDetail">查看订单</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				oid: null
			}
		},
		onLoad(options) {
			this.oid = options.oid
		},
		methods: {
			takedOrderDetail: function(){
				var that = this
				uni.navigateTo({
					url: 'takedOrderDetail?id=' + that.oid
				})
			}
		}
	}
</script>

<style>
	page {
		text-align: center;
	}
	.success-image {
		width: 200rpx;
		height: 200rpx;
		margin-top: 100rpx;
		text-align: center;
	}
	.success-title {
		font-size: 40rpx;
		
	}
	.success-tips {
		margin-top: 10rpx;
		width: 650rpx;
		display: inline-block;
		font-size: 26rpx;
		color: #666666;
	}
	
	.look-order {
		width: 300rpx;
		height: 72rpx;
		line-height: 72rpx;
		display: inline-block;
		margin-top: 50rpx;
		background: linear-gradient(to right, #ff8f6d, #de0806);
		color: white;
		border-radius: 36rpx;
	}
</style>
